package com.software.seakdream.service;

import com.software.seakdream.entity.History;
import com.software.seakdream.entity.HistoryRecord;
import com.software.seakdream.entity.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HistoryService {
    History createHistory(History history);

    Boolean deleteHistory(String userId, String audioId);

    List<HistoryRecord> getHistoryRecordUsePage(String userId, int page, int pageSize);


    List<History> findHistory(String userId);

    void deleteAllHistory(String userId);
}
